package com.tx.java.chapter8.exercise8point3.demo2;

/**
 *
 */
public class ChildClass extends BaseClass {
    private int i = 1;
    public ChildClass() {
    }


    @Override
    public void print() {
        System.out.println("子类输出："+i);
    }
}